package com.example.newone.service;

import com.example.newone.dao.UserDao;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {

    List<UserDao> findUser();


    List<UserDao> findTree();

    void insert(UserDao userDao);


    void deleteUser(Long id);

    void updateUser(UserDao userDao);
}
